<?php
/**
 * IWpResolver.php
 * 
 * This file contains the IWpResolver interface to be implemented by all resolvers
 * @author Robert Schmidt <robert@wildpack.de>
 * @version 1.0
 * @package wildpack
 * @subpackage mvc.controller.resolver
 */


/**
 * This interface must be implemented by all resolvers
 * @author Robert Schmidt <robert@wildpack.de>
 * @version 1.0
 * @package wildpack
 * @subpackage mvc.controller.resolver
 */
interface IWpResolver
{
	/**
	 * The class constructor
	 * @param array $config[optional] The configuration array
	 */
	public function __construct($config = null);
	
	/**
	 * Resolves a controller
	 * @param string $subject The name of the subject to resolve
	 * return object The controller object
	 */
	function resolve($subject='');
	
}

/* End of file IWpResolver.php */
/* Location: ./wildpack/mvc/controller/resolver/IWpResolver.php */ 